package com.baseweb.webadmin.service.impl;

import com.baseweb.webadmin.core.model.mapper.RoleAppMapper;
import com.baseweb.webadmin.core.model.pojo.RoleApp;
import com.baseweb.webadmin.core.model.pojo.RoleAppExample;
import com.baseweb.webadmin.service.RoleAppService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleAppServiceImpl implements RoleAppService {

    @Autowired
    private RoleAppMapper roleAppMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return roleAppMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(RoleApp record) {
        return roleAppMapper.insertSelective(record);
    }

    @Override
    public int deleteByExample(RoleAppExample example) {
        return roleAppMapper.deleteByExample(example);
    }
}
